﻿using System;
using System.IO;
using UnityEngine;

namespace SEXY
{
	// Token: 0x0200029E RID: 670
	[Serializable]
	public class CharFileInfoClothesFemale : CharFileInfoClothes
	{
		// Token: 0x060010FA RID: 4346 RVA: 0x0006C30C File Offset: 0x0006A50C
		public CharFileInfoClothesFemale() : base("【HoneySelectClothesFemale】", "coordinate/female/", Enum.GetNames(typeof(CharDefine.ClothesKindFemale)).Length)
		{
			this.MemberInitialize();
		}

		// Token: 0x060010FB RID: 4347 RVA: 0x0006C338 File Offset: 0x0006A538
		private new void MemberInitialize()
		{
			base.MemberInitialize();
			this.clothesTypeSex = 1;
			int[] array = new int[11];
			array[0] = 101;
			int[] array2 = array;
			for (int i = 0; i < this.clothesKindNum; i++)
			{
				this.clothesId[i] = array2[i];
				this.clothesColor[i] = new HSColorSet();
				this.clothesColor2[i] = new HSColorSet();
			}
			this.swimType = false;
			this.hideSwimOptTop = false;
			this.hideSwimOptBot = false;
		}

		// Token: 0x060010FC RID: 4348 RVA: 0x0006C3B0 File Offset: 0x0006A5B0
		public override bool Copy(CharFileInfoClothes srcData)
		{
			CharFileInfoClothesFemale charFileInfoClothesFemale = srcData as CharFileInfoClothesFemale;
			if (charFileInfoClothesFemale == null)
			{
				GlobalData.Debug_LogWarning("在女人的服装信息中加入男人的服装信息？");
				return false;
			}
			for (int i = 0; i < this.clothesKindNum; i++)
			{
				this.clothesId[i] = charFileInfoClothesFemale.clothesId[i];
				this.clothesColor[i].Copy(charFileInfoClothesFemale.clothesColor[i]);
			}
			for (int j = 0; j < 10; j++)
			{
				base.accessory[j].Copy(srcData.accessory[j]);
			}
			this.swimType = charFileInfoClothesFemale.swimType;
			this.hideSwimOptTop = charFileInfoClothesFemale.hideSwimOptTop;
			this.hideSwimOptBot = charFileInfoClothesFemale.hideSwimOptBot;
			return true;
		}

		// Token: 0x060010FD RID: 4349 RVA: 0x0006C460 File Offset: 0x0006A660
		protected override bool LoadSub(BinaryReader br, int clothesVer, int colorVer)
		{
			this.swimType = br.ReadBoolean();
			this.hideSwimOptTop = br.ReadBoolean();
			this.hideSwimOptBot = br.ReadBoolean();
			return true;
		}

		// Token: 0x04001279 RID: 4729
		public bool swimType;

		// Token: 0x0400127A RID: 4730
		public bool hideSwimOptTop;

		// Token: 0x0400127B RID: 4731
		public bool hideSwimOptBot;
	}
}
